﻿
namespace ZR.Model.Dto.Business.ProductionControl
{
    /// <summary>
    /// 上料计划_配置查询对象
    /// </summary>
    public class CksLoadingplanConfigQueryDto : PagerInfo
    {
    }

    /// <summary>
    /// 上料计划_配置输入输出对象
    /// </summary>
    public class CksLoadingplanConfigDto
    {
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }

        [Required(ErrorMessage = "零件名称不能为空")]
        public string Name { get; set; }

        [Required(ErrorMessage = "零件类型不能为空")]
        public int PartType { get; set; }

        [Required(ErrorMessage = "校验周期不能为空")]
        public int PeriodHour { get; set; }

        [Required(ErrorMessage = "周期最大上料不能为空")]
        public int PeriodMaxCount { get; set; }

        [Required(ErrorMessage = "单次上料子篮数量不能为空")]
        public int SingleCount { get; set; }

        [Required(ErrorMessage = "篮子容量不能为空")]
        public int BasketCapacity { get; set; }

        public int? Order { get; set; }

        public DateTime? LastLoadingTime { get; set; }

        [Required(ErrorMessage = "创建时间不能为空")]
        public DateTime? CreatedTime { get; set; }

        [Required(ErrorMessage = "IsDeleted不能为空")]
        public bool IsDeleted { get; set; }



        [ExcelColumn(Name = "零件类型")]
        public string PartTypeLabel { get; set; }
    }
}